home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
game
/
role
/
ldmud-3.2-bin.lha
/
mud
/
doc
/
efun
/
throw
< prev
next >
Wrap
Text File
|
2001-04-06
|
501b
|
17 lines
SYNOPSIS
void throw(mixed arg)
DESCRIPTION
Abort execution. If the current program execution was
initiated by catch(), that catch expression will
return arg as error code.
Calling throw() without previous catch() does not make sense
and will result in an ``throw without catch'' error.
EXAMPLE
catch(throw("aborting execution"));
This will just print the string "aborting execution".
SEE ALSO
catch(E), raise_error(E)